<?
include("gestione/includes/config.inc.php");
include("gestione/includes/auth.lib.php");
include("gestione/includes/function.inc.php");
include("gestione/includes/product_new.class.php");
include("gestione/includes/e-commerce_new.class.php");
$lang = "ita";
$pid = $_GET['pid'];
$newSession = new websession();
if($newSession->getStatus())  {
  $newOrder = new order($pid);
  $content = $newOrder->pop_viewOrder();
} else {
   $content = "<script language=Javascript>self.close();window.opener.location.href='webproduct.php?op=register';</script>";
  }
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="/css/stili.css" rel="stylesheet" type="text/css" />
<link href="/css/giardino.css" rel="stylesheet" type="text/css" />
<title>Dettaglio ordine</title>
</head>
<body style="background-image:none; background-color: #ffffff;">
<?=$content?>
</body>
</html>
